All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.MutableDictionary

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.core.Dictionary
                   |
                   +----com.apple.alpha.core.MutableDictionary

public class MutableDictionary
extends Dictionary
This class wraps the Objective-C class NSMutableDictionary.


Constructor Index

 o MutableDictionary()
This default constructor is equivalent to Objective-C's [[NSMutableDictionary alloc] init].
 o MutableDictionary(Array, Array)
This constructor has the same effect as calling - initWithObjects:forKeys: on a newly allocated object.
 o MutableDictionary(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o MutableDictionary(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.
 o MutableDictionary(Dictionary)
This constructor has the same effect as calling - initWithDictionary: on a newly allocated object.
 o MutableDictionary(Dictionary, boolean)
This constructor has the same effect as calling - initWithDictionary:copyItems: on a newly allocated object.
 o MutableDictionary(Hashtable)
 o MutableDictionary(int)
This constructor has the same effect as calling - initWithCapacity: on a newly allocated object.
 o MutableDictionary(String)
This constructor has the same effect as calling - initWithContentsOfFile: on a newly allocated object.

Method Index

 o addEntriesFromDictionary(Dictionary)
A wrapper for the - addEntriesFromDictionary: Objective-C instance method.
 o dictionaryWithCapacity(int)
A wrapper for the + dictionaryWithCapacity: Objective-C class method.
 o removeAllObjects()
A wrapper for the - removeAllObjects Objective-C instance method.
 o removeObjectForKey(Object)
A wrapper for the - removeObjectForKey: Objective-C instance method.
 o removeObjectsForKeys(Array)
A wrapper for the - removeObjectsForKeys: Objective-C instance method.
 o setDictionary(Dictionary)
A wrapper for the - setDictionary: Objective-C instance method.
 o setObjectForKey(Object, Object)
A wrapper for the - setObject:forKey: Objective-C instance method.

Constructors

 o MutableDictionary
 public MutableDictionary(Hashtable h)
 o MutableDictionary
 protected MutableDictionary(boolean shouldAllocate,
                             int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o MutableDictionary
 public MutableDictionary()
This default constructor is equivalent to Objective-C's [[NSMutableDictionary alloc] init].

 o MutableDictionary
 public MutableDictionary(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

 o MutableDictionary
 public MutableDictionary(String path)
This constructor has the same effect as calling - initWithContentsOfFile: on a newly allocated object.

 o MutableDictionary
 public MutableDictionary(Array objects,
                          Array keys)
This constructor has the same effect as calling - initWithObjects:forKeys: on a newly allocated object.

 o MutableDictionary
 public MutableDictionary(Dictionary otherDictionary)
This constructor has the same effect as calling - initWithDictionary: on a newly allocated object.

 o MutableDictionary
 public MutableDictionary(Dictionary otherDictionary,
                          boolean aBool)
This constructor has the same effect as calling - initWithDictionary:copyItems: on a newly allocated object.

 o MutableDictionary
 public MutableDictionary(int numItems)
This constructor has the same effect as calling - initWithCapacity: on a newly allocated object.

Methods

 o removeObjectForKey
 public native void removeObjectForKey(Object aKey)
A wrapper for the - removeObjectForKey: Objective-C instance method.

 o setObjectForKey
 public native void setObjectForKey(Object anObject,
                                    Object aKey)
A wrapper for the - setObject:forKey: Objective-C instance method.

 o addEntriesFromDictionary
 public native void addEntriesFromDictionary(Dictionary otherDictionary)
A wrapper for the - addEntriesFromDictionary: Objective-C instance method.

 o removeAllObjects
 public native void removeAllObjects()
A wrapper for the - removeAllObjects Objective-C instance method.

 o removeObjectsForKeys
 public native void removeObjectsForKeys(Array keyArray)
A wrapper for the - removeObjectsForKeys: Objective-C instance method.

 o setDictionary
 public native void setDictionary(Dictionary otherDictionary)
A wrapper for the - setDictionary: Objective-C instance method.

 o dictionaryWithCapacity
 public static native Object dictionaryWithCapacity(int numItems)
A wrapper for the + dictionaryWithCapacity: Objective-C class method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index